﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ProjectFitus.Models.SubSite>" %>

<asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Brjostagjof.is | <%=Model.title %>
</asp:Content>

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%= Html.Encode(Model.title) %></h2>
    <p>
        <%= Server.HtmlDecode(Model.contentText) %>
    </p>
    <%
    if ( User.IsInRole("Administrators") )
    { %>

       <%= Html.ActionLink("Breyta", "Edit", "SubSites")%>
    
   <% } %>
</asp:Content>
